# Django settings for oregon project.
from lingcod.common.default_settings import *

BASE_DIR = os.path.dirname(os.path.abspath(__file__))

DATABASE_ENGINE = 'postgresql_psycopg2'
DATABASE_NAME = 'gulfspill'
DATABASE_USER = 'postgres'

TIME_ZONE = 'America/Vancouver'
LANGUAGE_CODE = 'en-us'
SITE_ID = 1
USE_I18N = True

SECRET_KEY = 'kvc0za19@jw+g6wp@ce#+wl9r)euht+j&lb11&+7yqsr+n)21u'

ROOT_URLCONF = 'gulfspill.urls'

TEMPLATE_DIRS = ( os.path.realpath(os.path.join(os.path.dirname(__file__), 'templates').replace('\\','/')), )

INSTALLED_APPS += ( 'aoi', )

MPA_CLASS = 'aoi.models.AOI'
ARRAY_CLASS = 'aoi.models.AOIFolder'
MPA_FORM = 'aoi.forms.AOIForm'
ARRAY_FORM = 'aoi.forms.AOIFolderForm'

GEOMETRY_DB_SRID = 3086

SHARING_TO_PUBLIC_GROUPS = ['Share With Public']
GROUP_REGISTERED_BY_WEB = 'Share With Public'
KML_UNATTACHED_NAME = 'Annotations'

from settings_local import *

KML_EXTRUDE_HEIGHT = 1000
